<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>系统日志信息列表</title>
    <link rel="icon" th:href="@{/favicon.ico}">
    <link rel="shortcut icon" th:href="@{/favicon.ico}">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <link type="text/css"  th:href="@{/css/index.css}" rel="stylesheet"  />
    <link type="text/css"  th:href="@{/css/jconfirm.css}" rel="stylesheet"  />
    <script th:src="@{/js/jQuery1.7.2.js}" type="text/javascript"></script>
    <script th:src="@{/js/index.js}" type="text/javascript"></script>
    <script th:src="@{/js/jconfirm.js}" type="text/javascript"></script>
</head>
<body>
    <div class="mian_center">
        <span class="main_titile"><img th:src="@{/images/login_j_03.png}">系统日志信息列表</span>

        <div class="main_con">
            <form id="searchFr" th:action="@{/syslog/list}" method="get">
                <input  id="pSize"  name="pSize" type="hidden" th:value="*{param.pSize}" />
                <input  id="currentPn"  name="pn" type="hidden" th:value="*{param.pn}" />
            </form>
            <table>
                <tr>
                    <th width="30"><input type="checkbox" id="selectAll"></th>
                    <th width="50">序号</th>
                    <th>日志名称</th>
                    <th>登录用户ip</th>
                    <th>登录时间</th>
                </tr>

                <tr th:each="syslog : ${syslogs}">
                    <td><input type="checkbox" class="selectItem" th:value="${syslog.syslogId}"></td>
                    <td>[[${syslog.syslogId }]]</td>
                    <td>[[${syslog.syslogName }]]</td>
                    <td>[[${syslog.loginIp }]]</td>
                    <td>[[${#dates.format(syslog.loginTime,'YYYY/MM/dd HH:mm:ss')}]]</td>
                </tr>
                <tr th:if="${#lists.isEmpty(syslogs)}">
                    <td colspan="5">暂无任何记录</td>
                </tr>
            </table>
        </div>

        <div class="main_page_number"
             th:unless="${#lists.isEmpty(syslogs)}" th:include="/common/page :: page">
        </div>
    </div>
</body>
</html>